home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
ADBPlugin.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
79 lines
;
; File: ADBPlugin.a
;
; Version: Technology:
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__ADBPLUGIN__') = 'UNDEFINED' THEN
__ADBPLUGIN__ SET 1
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
IF &TYPE('__ADB__') = 'UNDEFINED' THEN
include 'ADB.a'
ENDIF
IF FOR_SYSTEM8_PREEMPTIVE THEN
;
;------------------------------------------------------------------------------------
; Calls exported by the Family
;------------------------------------------------------------------------------------
;
;
; extern void ADBFamRequestComplete(OSStatus theStatus)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION ADBFamRequestComplete
ENDIF
;
; extern void ADBFamAutopollArrived(Byte deviceAddress, const ADBRegisterContents *contents)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION ADBFamAutopollArrived
ENDIF
;
;------------------------------------------------------------------------------------
; Plugin Dispatch Table
;------------------------------------------------------------------------------------
;
kADBPluginVersion EQU $44332211
kADBPluginCurrentVersion EQU $44332211
ADBPluginHeader RECORD 0
version ds.l 1 ; offset: $0 (0)
reserved1 ds.l 1 ; offset: $4 (4)
reserved2 ds.l 1 ; offset: $8 (8)
reserved3 ds.l 1 ; offset: $C (12)
sizeof EQU * ; size: $10 (16)
ENDR
ADBPluginDispatchTable RECORD 0
header ds ADBPluginHeader ; offset: $0 (0)
Init ds.l 1 ; offset: $10 (16)
SetAutopollDelay ds.l 1 ; offset: $14 (20)
GetAutopollDelay ds.l 1 ; offset: $18 (24)
SetAutopollList ds.l 1 ; offset: $1C (28)
GetAutopollList ds.l 1 ; offset: $20 (32)
AutopollEnable ds.l 1 ; offset: $24 (36)
AutopollDisable ds.l 1 ; offset: $28 (40)
ResetBus ds.l 1 ; offset: $2C (44)
Flush ds.l 1 ; offset: $30 (48)
SetRegister ds.l 1 ; offset: $34 (52)
GetRegister ds.l 1 ; offset: $38 (56)
SetKeyboardList ds.l 1 ; offset: $3C (60)
sizeof EQU * ; size: $40 (64)
ENDR
ENDIF
ENDIF ; __ADBPLUGIN__